--[[

        fight_skill.lua
        exported by excel2lua.py
        from file:fight_skill.xlsx

--]]

local _data = {
  [1] = {id = 1,target = 1,amount = 1,element = 0,ratio = 1.5,cd = 2,buff1 = 8,buff2 = 0,buff3 = 0,buffPro1 = 800,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 8,attack_idx = 1,name = '扰乱术',desc = '使敌方单人陷入混乱。',callObj = -1,suck_blood = 0.0,},
  [2] = {id = 2,target = 2,amount = 6,element = 0,ratio = 0.3,cd = 2,buff1 = 1,buff2 = 0,buff3 = 0,buffPro1 = 200,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 2,attack_idx = 1,name = '寒冰术',desc = '释放冰之法术，造成大量伤害。',callObj = -1,suck_blood = 0.0,},
  [3] = {id = 3,target = 2,amount = 2,element = 0,ratio = 0.8,cd = 2,buff1 = 1,buff2 = 0,buff3 = 0,buffPro1 = 200,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 3,attack_idx = 1,name = '冰封万里',desc = '释放大范围冰系法术，造成大量伤害。',callObj = -1,suck_blood = 0.0,},
  [4] = {id = 4,target = 4,amount = 3,element = 0,ratio = 0.7,cd = 2,buff1 = 3,buff2 = 0,buff3 = 0,buffPro1 = 300,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 4,attack_idx = 1,name = '爆炎术',desc = '释放爆破火球，造成大量伤害。',callObj = -1,suck_blood = 0.0,},
  [5] = {id = 5,target = 3,amount = 3,element = 9,ratio = 0.5,cd = 2,buff1 = 4,buff2 = 0,buff3 = 0,buffPro1 = 500,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 5,attack_idx = 2,name = '回春术',desc = '为队友回复一定生命值',callObj = -1,suck_blood = 0.0,},
  [6] = {id = 6,target = 5,amount = 3,element = 0,ratio = 0.5,cd = 2,buff1 = 5,buff2 = 0,buff3 = 0,buffPro1 = 300,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 6,attack_idx = 1,name = '电光术',desc = '释放雷电光芒，造成大量伤害。',callObj = -1,suck_blood = 0.0,},
  [7] = {id = 7,target = 1,amount = 1,element = 0,ratio = 1.1,cd = 0,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 1,skill_res = 1,attack_idx = 1,name = '普攻',desc = '普通攻击对单人造成伤害。',callObj = -1,suck_blood = 0.0,},
  [8] = {id = 8,target = 1,amount = 1,element = 0,ratio = 1.1,cd = 0,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 1,skill_res = 13,attack_idx = 1,name = '普攻',desc = '普通攻击对单人造成伤害。',callObj = -1,suck_blood = 0.0,},
  [9] = {id = 9,target = 1,amount = 1,element = 0,ratio = 1.8,cd = 2,buff1 = 10,buff2 = 0,buff3 = 0,buffPro1 = 500,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 14,attack_idx = 1,name = '霜爆术',desc = '释放极寒的霜爆，对单个敌人造成伤害，并有50%概率造成冻伤。',callObj = -1,suck_blood = 0.0,},
  [10] = {id = 10,target = 2,amount = 1,element = 9,ratio = 0.5,cd = 2,buff1 = 7,buff2 = 0,buff3 = 0,buffPro1 = 500,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 15,attack_idx = 2,name = '梦蝶',desc = '对全体友方进行治疗，并有50%为受治疗友方添加振奋效果。',callObj = -1,suck_blood = 0.0,},
  [11] = {id = 11,target = 5,amount = 3,element = 0,ratio = 1.2,cd = 2,buff1 = 11,buff2 = 0,buff3 = 0,buffPro1 = 300,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 16,attack_idx = 1,name = '真炎之火',desc = '对随机三名敌方释放炙热火焰，造成火元素伤害，并有30%概率附加灼烧效果。',callObj = -1,suck_blood = 0.0,},
  [12] = {id = 12,target = 2,amount = 3,element = 0,ratio = 0.9,cd = 2,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 17,attack_idx = 1,name = '巨大火球',desc = '释放巨大火球席卷全场，对全体敌人造成大量火元素伤害。',callObj = -1,suck_blood = 0.0,},
  [13] = {id = 13,target = 3,amount = 3,element = 0,ratio = 1.1,cd = 2,buff1 = 12,buff2 = 0,buff3 = 0,buffPro1 = 300,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 18,attack_idx = 1,name = '雷闪',desc = '释放刺眼闪电对敌方一列造成伤害，并有30%概率使敌方致盲。',callObj = -1,suck_blood = 0.0,},
  [14] = {id = 14,target = 6,amount = 0,element = 0,ratio = 1.1,cd = 2,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 19,attack_idx = 0,name = '法术墙',desc = '在队伍前方释放一道法术墙，抵御敌方伤害，继承释放者100%血量。',callObj = 1,suck_blood = 0.0,},
  [15] = {id = 15,target = 6,amount = 0,element = 0,ratio = 0.7,cd = 2,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 20,attack_idx = 0,name = '协同之石',desc = '召唤一颗协同之石，在友方进行攻击之后，协同友方对单个敌方造成伤害，继承释放者70%攻击力。',callObj = 2,suck_blood = 0.0,},
  [16] = {id = 16,target = 4,amount = 2,element = 0,ratio = 1.0,cd = 2,buff1 = 5,buff2 = 0,buff3 = 0,buffPro1 = 400,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 21,attack_idx = 1,name = '火弹',desc = '释放火球弹，对敌方造成大量伤害，并有40%概率对敌方施加虚弱效果。',callObj = -1,suck_blood = 0.0,},
  [17] = {id = 17,target = 2,amount = 6,element = 9,ratio = 0.4,cd = 2,buff1 = 4,buff2 = 0,buff3 = 0,buffPro1 = 1000,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 22,attack_idx = 2,name = '治愈之雨',desc = '在全体友方头顶释放治愈治之雨进行大范围治疗，并施加自愈效果。',callObj = -1,suck_blood = 0.0,},
  [18] = {id = 18,target = 5,amount = 1,element = 0,ratio = 1.0,cd = 0,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 23,attack_idx = 1,name = '太一神光',desc = '对敌方单体发出一道强射线，造成大量商家。',callObj = -1,suck_blood = 0.0,},
  [19] = {id = 19,target = 6,amount = 0,element = 0,ratio = 1.0,cd = 0,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 20,attack_idx = 0,name = '召唤',desc = '召唤妖兽进场协助友方战斗。',callObj = 3,suck_blood = 0.0,},
  [20] = {id = 20,target = 5,amount = 3,element = 0,ratio = 1.0,cd = 0,buff1 = 0,buff2 = 0,buff3 = 0,buffPro1 = 0,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 1,attack_idx = 1,name = '饮血',desc = '随机攻击敌方三人并将造成伤害的40%回复自身血量。',callObj = -1,suck_blood = 0.4,},
  [21] = {id = 21,target = 2,amount = 3,element = 0,ratio = 0.3,cd = 0,buff1 = 16,buff2 = 0,buff3 = 0,buffPro1 = 800,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 24,attack_idx = 1,name = '讥笑击',desc = '嘲笑并攻击敌方，80%概率嘲讽敌人2回合。',callObj = -1,suck_blood = 0.0,},
  [22] = {id = 22,target = 1,amount = 1,element = 0,ratio = 0.0,cd = 0,buff1 = 15,buff2 = 0,buff3 = 0,buffPro1 = 1000,buffPro2 = 0,buffPro3 = 0,canCounterattack = 0,skill_res = 25,attack_idx = 2,name = '守护',desc = '替一名友方提档直接伤害持续2回合',callObj = -1,suck_blood = 0.0,},
}

local id_to_index={
   [1] = 1,
   [2] = 2,
   [3] = 3,
   [4] = 4,
   [5] = 5,
   [6] = 6,
   [7] = 7,
   [8] = 8,
   [9] = 9,
   [10] = 10,
   [11] = 11,
   [12] = 12,
   [13] = 13,
   [14] = 14,
   [15] = 15,
   [16] = 16,
   [17] = 17,
   [18] = 18,
   [19] = 19,
   [20] = 20,
   [21] = 21,
   [22] = 22,
}

local fight_skill={}

function fight_skill.length() 
   return #_data 
end 

function fight_skill.indexOf(index) 
   return _data[index] 
end 

function fight_skill.get(id) 
  return fight_skill.indexOf(id_to_index[id])
end 

return fight_skill